package com.dnjn.happiness.survey.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 考核答案对象 svy_check_answer
 *
 * @author happiness
 * @date 2024-04-02
 */
@Schema(name = "CheckAnswer", description = "考核答案")
@Accessors(chain = true)
@ToString
@Getter
@Setter
public class CheckAnswerVO  implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** PK */
    private Long answerId;

    /** 答题人Id */
    @Schema(description = "答题人Id")
    private Long userId;

    /** $column.columnComment */
    @Schema(description = "${comment}")
    private Long checkId;

    /** $column.columnComment */
    @Schema(description = "${comment}")
    private Long checkItemId;

    /** $column.columnComment */
    @Schema(description = "${comment}")
    private Long questionId;

    /** 答案 */
    @Schema(description = "答案")
    private String answer;

    /** Y-N */
    @Schema(description = "Y-N")
    private String isRight;

    /** $column.columnComment */
    @Schema(description = "${comment}")
    private Date dateStart;

    /** $column.columnComment */
    @Schema(description = "${comment}")
    private Date dateEnd;

    /** $column.columnComment */
    @Schema(description = "${comment}")
    private Long siteId;

    /** 是否删除|0-否 1-是|valid */
    @Schema(description = "是否删除|0-否 1-是|valid")
    private String deleted;

    @Schema(description = "考核绩效分数")
    private Integer checkItemScore;

    @Schema(description = "考核绩效结果")
    private String checkItemResult;

    private String checkType;

    private List<CheckAnswerVO> voList;


    /** 考核上级分数 */
    @Schema(description = "考核上级分数")
//    @Excel(name = "考核上级分数")
    private Long superiorCheckScore;

    /** 考核下级分数 */
    @Schema(description = "考核下级分数")
//    @Excel(name = "考核下级分数")
    private Long subordinateCheckScore;

    /** 考核上级结果 */
    @Schema(description = "考核上级结果")
//    @Excel(name = "考核上级结果")
    private String superiorCheckResult;

    /** 考核下级结果 */
    @Schema(description = "考核下级结果")
//    @Excel(name = "考核下级结果")
    private String subordinateCheckResult;
}
